#ifndef _SELECTION_MANAGER_H_
#define _SELECTION_MANAGER_H_

#include "SelectionSet.h"
#include "SelectionBoxManager.h"
#include <osg/Referenced>

class SelectionManager : public osg::Referenced
{
public:
	SelectionManager(class SceneManager* pSceneManager);

	// mutators
	void add(osg::Node* pNode);
	void remove(osg::Node* pNode);

	// accessors
	bool isSelected(osg::Node* pNode) const;
	osg::Node* getFirstSelected() const;

private:
	SelectionSet m_SelectionSet;
	SelectionBoxManager m_SelectionBoxManager;
};

#endif